

import UIKit
import HandyJSON
class XWModel: NSObject {
        
}
class XWServerModel:HandyJSON {
    /// 最佳节点
    var best_node:XWServerListModel?
    /// 节点列表
    var nodes:[XWServerListModel]?
    required init(){}
}
class XWServerListModel : HandyJSON {
    /// 国家
    var country:String?
    /// 区域
    var region:String?
    /// 城市
    var city:String?
    /// 纬度
    var lat:String?
    /// 经度
    var lon:String?
    /// VPN节点id
    var node_id:String?
    /// ip
    var ip:String?
    /// 国旗
    var flag:String?
    /// 端口
    var port:String?
    /// 持续时间，单位分钟
    var duration:String?
    /// 节点名称
    var node_name:String?
    /// 自己的参数
    ///  随机ping
    var ping:String?
    /// 是否连接了vpn
    var isConnectVPN:Bool?
    required init(){}
}
class XWServerInfoModel:HandyJSON{
    var account_info:XWNodeInfoModel?
    required init(){}
}
class XWNodeInfoModel:HandyJSON {
    ///国家
    var country:String?
    /// 区域
    var region:String?
    /// 城市
    var city:String?
    /// 纬度
    var lat:String?
    /// 精度
    var lon:String?
    /// ip
    var ip:String?
    /// 端口
    var port:String?
    /// 持续时间，单位分钟
    var duration:String?
    /// 额外id，默认0
    var alter_id:String?
    /// 加密方式
    var security:String?
    /// 传输协议默认tcp
    var network:String?
    /// 用户id
    var user_id:String?
    /// VPN节点id
    var node_id:String?
    /// 国旗
    var flag:String?
    required init(){}
}
